<?php
if (isset($_POST['id']) && !empty($_POST['id'])){
     $_SESSION['ids']=$_POST['id'];
     echo json_encode(array('status'=>'ok'));
}
